package lab01;

import java.util.Random;
import java.util.Scanner;

/**
 * Created by dell on 2017/10/18.
 */
public class Text08 {
    public static void main(String[] args) {
        int i;
        i = 1 + new Random().nextInt(100);
        Scanner scanner2 = new Scanner(System.in);
        int n;
        n=0;
        while (n != i) {
            n = scanner2.nextInt();
            if (n > i)
                System.out.println("猜大了");
            else if (n < i)
                System.out.println("猜小了");
        }
        if (n == i)
            System.out.println("猜对了");
    }
}


